package com.darren.euc.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.darren.euc.dao.LoginValidateDao;
import com.darren.euc.entity.LoginValidate;
import com.darren.euc.service.LoginValidateService;


@Service
public class LoginValidateServiceImpl implements LoginValidateService {
	
	@Autowired
    private LoginValidateDao loginValidateDao;
	

	@Override
	public LoginValidate findById(Integer id) {
		return loginValidateDao.findById(id);
	}
	
	@Override
	public List<LoginValidate> getAll() {
		return loginValidateDao.getAll();
	}

	@Override
	public LoginValidate save(LoginValidate loginValidate) {
		return loginValidateDao.save(loginValidate);
	}
	
	@Override
	public LoginValidate update(LoginValidate loginValidate) {
		return loginValidateDao.update(loginValidate);
	}
}